package com.hongluan.love.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.hongluan.love.R;

public class UserInfoActivity extends Activity implements OnClickListener
{
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_userinfo);

		View btn = this.findViewById(R.id.btnEditDetails);
		btn.setOnClickListener(this);
	}

	@Override
	public void onClick(View v)
	{
		int id = v.getId();
		switch (id) {
		case R.id.btnEditDetails: {
			Intent t = new Intent();
			t.setClass(this, EditUserInfoActivity.class);
			this.startActivity(t);
			break;
		}
		case R.id.btnMyPrivilege: {
			break;
		}
		default: {
			break;
		}
		}
	}
}
